package com.markerhub.entity;

/**
 * @author jsx on 2023/1/27
 **/

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import lombok.Data;

/**
 * 营养知识
 */
@TableName("health_knowledge")
@Data
public class HealthKnowledge {

    /**
     * 唯一标识符
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private  String id;

    /**
     * 食物
     */
    @TableField(value = "food")
    private String food;

    /**
     * 类型
     */
    @TableField(value = "type")
    private  String type;

    /**
     * 效果
     */
    @TableField(value = "description")
    private String description;

    /**
     * 原因
     */
    @TableField("result")
    private String result;

}
